package com.t.dao;

import org.apache.ibatis.session.SqlSession;

import com.t.meta.User;

public class UserDaoImpl implements UserDao {

    
    public static final String NAMESPACE = "com.t.mapper.UserMapper";  
    
    public void insert(User user) {
        SqlSession session = MyBatisUtil.getSession();
        session.insert("insertUser" , user);
        
        session.commit();
        session.close();
    }

    
}
